package com.tiantian.homework_6_mvc.mapper;

import com.tiantian.homework_6_mvc.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    List<User> selectAllUser(Integer uid, String username, String gender);

    int deleteUserByUid(Integer uid);

    User selectUserByUid(Integer uid);

    int insertUser(User user);

    int updateUserByUid(User user);
}
